import QtQuick 2.0
import org.qtproject.qtquick 1.0

Item {
    id: id_TermItem
    width: parent.width
    height: id_title.contentHeight + id_content.contentHeight

    Column {
        anchors.horizontalCenter: parent.horizontalCenter
        width: parent.width - m_margin * 2

        Text {
            id: id_title
            text: title
            font.bold: true
            font.underline: true

            verticalAlignment: Text.AlignVCenter
            horizontalAlignment: Text.AlignJustify
            wrapMode: Text.WordWrap
            color: "#000000"
            width: parent.width

            font.family: "Arial"
            font.pixelSize: 18 ;
        }

        Text {
            id: id_content
            text: content
            verticalAlignment: Text.AlignVCenter
            horizontalAlignment: Text.AlignJustify
            wrapMode: Text.WordWrap
            color: "#000000"
            width: parent.width

            font.family: "Arial"
            font.pixelSize: 18 ;

        }
    }
}
